package elogger

import (
	"git.edaijia-inc.cn/edaijia/ego/elogger"

	"github.com/Shopify/sarama"
)

func InitELoggerKafka(verbose bool) {
	if verbose {
		mylogger := elogger.GetELogger()
		if mylogger != nil {
			sarama.Logger = mylogger
		}
	}
}
